package com.mobile.common;

import com.ruoyi.common.core.domain.AjaxResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 移动端小程序公共模块Controller
 * @author mobile
 * @date 2022/6/24
 */
@Api(value = "移动端小程序公共模块", tags = "移动端小程序公共模块")
@RestController
@RequestMapping("/mobile/common")
public class MobileCommonController {

    /**
     * 测试
     */
    @ApiOperation(value = "测试Say Hello", notes = "测试Say Hello")
    @GetMapping("/test")
    public AjaxResult test() {
        return AjaxResult.success("Hello world!");
    }
}
